package com.itrip.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Date;

import java.util.Date;



@TableName("itrip_user")
public class ItripUser {
  public ItripUser() {

  }

  public Long getId() {


    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getUserCode() {
    return userCode;
  }

  public void setUserCode(String userCode) {
    this.userCode = userCode;
  }

  public String getUserPassword() {
    return userPassword;
  }

  public void setUserPassword(String userPassword) {
    this.userPassword = userPassword;
  }

  public Long getUserType() {
    return userType;
  }

  public void setUserType(Long userType) {
    this.userType = userType;
  }

  public Long getFlatId() {
    return flatId;
  }

  public void setFlatId(Long flatId) {
    this.flatId = flatId;
  }

  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }

  public String getWeChat() {
    return weChat;
  }

  public void setWeChat(String weChat) {
    this.weChat = weChat;
  }

  public String getQq() {
    return qq;
  }

  public void setQq(String qq) {
    this.qq = qq;
  }

  public String getWeibo() {
    return weibo;
  }

  public void setWeibo(String weibo) {
    this.weibo = weibo;
  }

  public String getBaidu() {
    return baidu;
  }

  public void setBaidu(String baidu) {
    this.baidu = baidu;
  }

  public Date getCreationDate() {
    return creationDate;
  }

  public void setCreationDate(Date creationDate) {
    this.creationDate = creationDate;
  }

  public Long getCreatedBy() {
    return createdBy;
  }

  public void setCreatedBy(Long createdBy) {
    this.createdBy = createdBy;
  }

  public Date getModifyDate() {
    return modifyDate;
  }

  public void setModifyDate(Date modifyDate) {
    this.modifyDate = modifyDate;
  }

  public Long getModifiedBy() {
    return modifiedBy;
  }

  public void setModifiedBy(Long modifiedBy) {
    this.modifiedBy = modifiedBy;
  }

  public Long getActivated() {
    return activated;
  }

  public void setActivated(Long activated) {
    this.activated = activated;
  }

  @TableId(type = IdType.AUTO)
  @TableField("id")
  private Long id; //主键
  @TableField("userCode")
  private String userCode; //若是第三方登录，系统将自动生成唯一账号；自注册用户则为邮箱或者手机号
  @TableField("userPassword")
  private String userPassword; //若是第三方登录，系统将自动生成唯一密码；自注册用户则为自定义密码
  @TableField("userType")
  private Long userType; //用户类型（标识：0 自注册用户 1 微信登录 2 QQ登录 3 微博登录）
  @TableField("flatID")
  private Long flatId; //平台ID（根据不同登录用户，进行相应存入：自注册用户主键ID、微信ID、QQID、微博ID）
  @TableField("userName")
  private String userName; //用户昵称
  @TableField("weChat")
  private String weChat; //微信号
  @TableField("QQ")
  private String qq; //qq账号
  @TableField("weibo")
  private String weibo; //微博账号
  @TableField("baidu")
  private String baidu; //百度账号
  @TableField("creationDate")
  private Date creationDate; 
  @TableField("createdBy")
  private Long createdBy; 
  @TableField("modifyDate")
  private Date modifyDate; 
  @TableField("modifiedBy")
  private Long modifiedBy; 
  @TableField("activated")
  private Long activated; //是否激活,(0 false，1 true,默认是0)

}
